<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>首页</title>
  <link type="text/css" th:href="@{/css/demo.css}" rel="stylesheet"/>
</head>
<body>
<h2>首页</h2>
<a href="openLogin">登录</a>
<a href="userLogout">退出登录</a>

<img th:src="@{/imgs/mm01.jpg}" alt="">
<script th:src="@{/js/demo.js}"></script>
<script>
fun()
</script>
</body>
</html>